package com.example.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.NonNull;

import java.io.Serializable;

@Data
public class UserRegisterParam implements Serializable {

    @NotBlank(message = "名字不能为空")
    private String name;

    @NotBlank(message = "邮箱不能为空")
    private String mail;

    @NotBlank(message = "电话号码不能为空")
    private String phoneNumber;


    private String password;

    @NotBlank(message = "状态不能为空")
    private String identity;

}
